import request from "@/utils/request.ts";

enum API{
    // 获取已有的医院的数据接口
    HOSPITAL_URL=`/hosp/hospital`
}

export const reqHospital = (page:number, limit:number)=> {
    const url = `${API.HOSPITAL_URL}/${page}/${limit}`
    console.log('reqHospital url:', url)
    return request.get(url);
}
